PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFLineAnnotation Class / setEndPoint Method / setEndPoint(PDFPoint) Method
A com.o2sol.pdf4java.graphics.PDFPoint object that specifies the end point of the line annotation in display coordinates.
In This Topic
    setEndPoint(PDFPoint) Method
    In This Topic
    Sets the line's end point.
    Because the end point uses page display coordinates, the annotation must be added to the page before setting the end point.
    Syntax
    public void setEndPoint( 
       PDFPoint point
    )

    Parameters

    point
    A com.o2sol.pdf4java.graphics.PDFPoint object that specifies the end point of the line annotation in display coordinates.
    Exceptions
    ExceptionDescription
    Thrown when point parameter is null.
    Thrown when the annotation does not belong to a page.
    See Also